import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import unpluginAutoImport from 'unplugin-auto-import/vite'

// https://vitejs.dev/config/
export default defineConfig({
  base: './',
  server: {
    host: true,
    open: true,
  },
  plugins: [
    vue(),
    unpluginAutoImport({
      imports: ['vue'],
      dts: true,
    }),
  ],
})
